/**
 * 华甬接口管理
 * @module login
 */

import request from '../api/index'
import config from '@/config/index'
import store from "@/utils/factory"
/**
 * login
 * @method login
 * @param {data}
 * 
 */

export function login(formData) {
    return request({
        url: `${config.hyURL}`,
        method: 'POST',
        data: formData,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
    })
}

export function fuzzysearch(formData) {
    return request({
        url: `${config.hyURL}`,
        method: 'POST',
        data: formData,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
    })
}